package com.cazor.dg.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cazor.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cazor.common.core.domain.BaseEntity;

/**
 * 检监测内容对象 dg_dev_device_instance
 * 
 * @author cazor
 * @date 2023-11-25
 */
@TableName("dg_dev_device_instance")
public class DgDevDeviceInstance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水号 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 设备id */
    @Excel(name = "设备id")
    private String deviceId;

    /** 监测站id */
    @Excel(name = "监测站id")
    private String stationId;

    /** 监测站名称 */
    @Excel(name = "监测站名称")
    private String stationName;

    /** 监测内容id */
    @Excel(name = "监测内容id")
    private String contentId;

    /** 监测内容名称 */
    @Excel(name = "监测内容名称")
    private String contentName;

    /** 监测内容类别 */
    @Excel(name = "监测内容类别")
    private String contentType;

    /** 行政区域 */
    @Excel(name = "行政区域")
    private String position;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 县 */
    @Excel(name = "县")
    private String county;

    /** 经度 */
    @Excel(name = "经度")
    private String x;

    /** 纬度 */
    @Excel(name = "纬度")
    private String y;

    /** 电池电压 */
    @Excel(name = "电池电压")
    private String batteryVoltage;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String deviceModel;

    /** 管道桩号 */
    @Excel(name = "管道桩号")
    private String polenum;

    /** 供电方式 */
    @Excel(name = "供电方式")
    private String powerSupplyMode;

    /** 激活时间 */
    @Excel(name = "激活时间")
    private String registryTime;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String state;

    /** 测站卡号 */
    @Excel(name = "测站卡号")
    private String stationCardNo;

    /** 设备类型,1设备,2传感器 */
    @Excel(name = "设备类型,1设备,2传感器")
    private String type;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private Integer status;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String valid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setStationId(String stationId) 
    {
        this.stationId = stationId;
    }

    public String getStationId() 
    {
        return stationId;
    }
    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }
    public void setContentId(String contentId) 
    {
        this.contentId = contentId;
    }

    public String getContentId() 
    {
        return contentId;
    }
    public void setContentName(String contentName) 
    {
        this.contentName = contentName;
    }

    public String getContentName() 
    {
        return contentName;
    }
    public void setContentType(String contentType) 
    {
        this.contentType = contentType;
    }

    public String getContentType() 
    {
        return contentType;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setX(String x) 
    {
        this.x = x;
    }

    public String getX() 
    {
        return x;
    }
    public void setY(String y) 
    {
        this.y = y;
    }

    public String getY() 
    {
        return y;
    }
    public void setBatteryVoltage(String batteryVoltage) 
    {
        this.batteryVoltage = batteryVoltage;
    }

    public String getBatteryVoltage() 
    {
        return batteryVoltage;
    }
    public void setDeviceModel(String deviceModel) 
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel() 
    {
        return deviceModel;
    }
    public void setPolenum(String polenum) 
    {
        this.polenum = polenum;
    }

    public String getPolenum() 
    {
        return polenum;
    }
    public void setPowerSupplyMode(String powerSupplyMode) 
    {
        this.powerSupplyMode = powerSupplyMode;
    }

    public String getPowerSupplyMode() 
    {
        return powerSupplyMode;
    }
    public void setRegistryTime(String registryTime) 
    {
        this.registryTime = registryTime;
    }

    public String getRegistryTime() 
    {
        return registryTime;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setStationCardNo(String stationCardNo) 
    {
        this.stationCardNo = stationCardNo;
    }

    public String getStationCardNo() 
    {
        return stationCardNo;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setValid(String valid) 
    {
        this.valid = valid;
    }

    public String getValid() 
    {
        return valid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("stationId", getStationId())
            .append("stationName", getStationName())
            .append("contentId", getContentId())
            .append("contentName", getContentName())
            .append("contentType", getContentType())
            .append("position", getPosition())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("x", getX())
            .append("y", getY())
            .append("batteryVoltage", getBatteryVoltage())
            .append("deviceModel", getDeviceModel())
            .append("polenum", getPolenum())
            .append("powerSupplyMode", getPowerSupplyMode())
            .append("registryTime", getRegistryTime())
            .append("state", getState())
            .append("stationCardNo", getStationCardNo())
            .append("type", getType())
            .append("status", getStatus())
            .append("valid", getValid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
